# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy
from scrapy import Field


class GameItem(scrapy.Item):
    game_id = Field()
    season = Field()
    type = Field()
    game_date = Field()
    away_team = Field()
    home_team = Field()
    away_score = Field()
    home_score = Field()
    away_coach_num = Field()
    away_coach_name = Field()
    home_coach_num = Field()
    home_coach_name = Field()
    away_quarter_score = Field()
    home_quarter_score = Field()
    away_team_stat = Field()
    home_team_stat = Field()


class PlayerGameItem(scrapy.Item):
    game_id = Field()
    team = Field()
    player_id = Field()
    player_name = Field()
    gs = Field()
    mp = Field()
    fgper = Field()
    fg = Field()
    fga = Field()
    threepper = Field()
    threep = Field()
    threepa = Field()
    ftper = Field()
    ft = Field()
    fta = Field()
    ts = Field()
    trb = Field()
    orb = Field()
    drb = Field()
    ast = Field()
    stl = Field()
    blk = Field()
    tov = Field()
    pf = Field()
    pts = Field()
